package com.marry.myspringmvc.controller;

import com.marry.myspringmvc.annotation.Controller;
import com.marry.myspringmvc.annotation.Qualifier;
import com.marry.myspringmvc.annotation.RequestMapping;
import com.marry.myspringmvc.service.UserService;

/**
 * @author ml
 * @create 2017-08-01--17:33
 */
@Controller()
@RequestMapping("/user")
public class UserController {

    @Qualifier("userServiceImpl")
    private UserService userService;

    @RequestMapping("/insert")
    public void insert(){
        userService.insert();
    }
}
